package com.sgb.kjwl.view.ui.adapter.transport;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sgb.kjwl.R;

import java.util.List;

/**
 * @author: 杨畔
 * @date: 2021/1/22 12:30
 * @Description: 货源自定义字段适配器
 */
public class CargoGoodsInfoAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public CargoGoodsInfoAdapter(@Nullable List<String> data) {
        super(R.layout.item_cargo_goods_info, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_cargo_goods_info, item);
    }


}
